package threadcordknowleadge.threadcoreknowledge;

import javax.swing.*;
import javax.swing.plaf.synth.SynthOptionPaneUI;

/**
 * @author Brook
 */
public class Id {

    public static void main(String[] args) {
        Thread thread = new Thread();
        System.out.println(Thread.currentThread().getId());
        System.out.println(thread.getId());
    }
}
